#include <stdio.h>

int main(void)
{
	struct student
	{
		char sno[8];
		char name[20];
		char sex;
		int age;
		double score[3];
	};
	struct student s = {"2015001", "LiMing", 'M', 18, {85.0, 92.5, 95.5}};
	int i;

	printf("sno: %s\n", s.sno);
	printf("name: %s\n", s.name);
	printf("sex: %c\n", s.sex);
	printf("age: %d\n", s.age);
	printf("score:");
	for (i = 0; i < 3; i++)
		printf("%6.1f", s.score[i]);
	printf("\n");
	
	return 0;
}